package com.ryskoo.framework.core.bean;

/**
 * 
 * SUCCESS:调用成功 <br>
 * FAIL:调用失败<br>
 * ERROR:调用成功，系统错误<br>
 * TIMEOUT:调用超时<br>
 * 
 * @author ruiyun
 *
 */
public enum ReturnCodeEnum {

	SUCCESS(1), FAIL(2), ERROR(3), TIMEOUT(4);

	private int returnCode = 1;

	private ReturnCodeEnum(int returnCode) {
		this.returnCode = returnCode;
	}

	public int getReturnCode() {
		return this.returnCode;
	}
}
